package com.example.autumn;

import com.example.feign.clients.UserClient;
import com.example.feign.clients.fallback.config.FeignConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 * @author Liaorun
 */
@EnableFeignClients(clients = UserClient.class, defaultConfiguration = FeignConfig.class)
@SpringBootApplication
public class MoyuApplication {

    public static void main(String[] args) {
        SpringApplication.run(MoyuApplication.class, args);
    }
}
